package com.primal;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Author whh
 * Date 2023/10/11/ 19:37
 * <p></p>
 */
public class MainApp {

    public static void main(String[] args) throws InterruptedException {
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("beans.xml");

        Thread.sleep(Integer.MAX_VALUE);
        ctx.destroy();
    }
}
